package hp.com.service;

import hp.com.entity.Address;

import java.util.List;

public interface AddressService {
    /**
     * 将地址信息写入到服务器中
     */
    void AddAddress(int account,String loc,String name,String number) throws Exception;

    List<Address> getAddressById(int id) throws Exception;

    String getAddressTextById(int id)throws Exception;
}
